package trism.field.controller {
	import trism.field.model.FieldModel;
	import trism.field.view.FieldView;

	import com.samoiloff.framework.controller.AbstractController;

	/**
	 * @author Samoiloff  http://samoiloff.com/
	 */
	public class FieldBaseController extends AbstractController {
		
		protected var _model : FieldModel;
		protected var _view : FieldView;
		
		public function FieldBaseController(model : FieldModel) {
			super(model);

			_model = model;
			_view = _model.view as FieldView;
			
		}
		
		
		override public function destroy() : void {
			_model = null;
			_view = null;
			
			super.destroy();
		}
		
	}
}
